#!/usr/bin/env python
# -*- coding: utf-8 -*-

#import os, sys
#
## Uninstall Django 0.96.
#for k in [k for k in sys.modules if k.startswith('django')]:
#    del sys.modules[k]
#
## Add Django 1.0 archive to the path.
#django_path = '../Django-1.0.2.zip'
#sys.path.insert(0, django_path)
#
#import django
#print django
    
from django.core.management import execute_manager
try:
    import settings # Assumed to be in the same directory.
except ImportError:
    import sys
    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n" % __file__)
    sys.exit(1)

if __name__ == "__main__":
    execute_manager(settings)
